var LIMIT = 10000000;
var arr = new Array(LIMIT);

for(var i=0;i<LIMIT; i++){
    arr[i]=i;
}
arr.push({a:1});
console.time('Array insertion time');
let b = arr[0];
console.timeEnd('Array insertion time');